package com.masterclient.app.businessmodule.homemodule.api;

import com.masterclient.app.businessmodule.homemodule.bean.HomeIndexBean;
import com.masterclient.app.businessmodule.homemodule.bean.saletabs.FlashSaleTabIndexBean;
import com.masterclient.app.businessmodule.homemodule.bean.shoplist.HomeShopListBean;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface HomeNetApi {
    /**
     * 首页接口
     * */
    @GET("/v1/index/get")
    io.reactivex.Observable<HomeIndexBean> getHomeData();

    /**
     * 限时购接口
     * */
    @GET("/v1/flash_sale/product/list")
    io.reactivex.Observable<FlashSaleTabIndexBean> getFlashSaleList(@Query("event_map_id") String event_map_id);

    /**
     * 首页商品接口
     * */
    @GET("/v1/index/footer/product/list")
    io.reactivex.Observable<HomeShopListBean> getHomeFooterShopList(@Query("tab_id") String tab_id, @Query("page") String page, @Query("page_size") String page_size);


}
